package com.pingan.haofang.searchcloud.web.users.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 登陆
 *
 * @author zhangbi617
 * @date 02/05/2017
 */
@ApiModel(description = "登陆")
public class LoginForm {

    @ApiModelProperty(value = "用户名")
    @NotBlank
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotBlank
    private String password;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
